<?php
include_once 'DB.php';
$updown=$_GET["updown"];
$mid=$_GET["mid"];
$db=new DB();
$db->updown($mid,$updown);
?>
<script language="JavaScript">
window.location.href = document.referrer;
</script>